import { createRouter, createWebHistory } from 'vue-router'
import loginView from '../views/login.vue'
import BUILDMIND from '@/views/BUILDMIND.vue'
import Hello from '@/views/Hello.vue'
import ChatPage from '@/views/ChatPage.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    // {
    //   path: '/',
    //   name: 'App',
    //   component: App,
    // },
    {
      path: '/',
      name: 'login',
      component: loginView,
    },
    {
      path: '/BUILD-MIND',
      name: 'BUILD-MIND',
      component: BUILDMIND,
    },
    {
      path: '/chat',
      name: 'chat',
      component: ChatPage,
    },
  ],
})

export default router
